<style type="text/css">
table .html {
    font-family: Arial;
    padding-right: 4px;
}
</style>
<table class="layui-table  text-center" lay-size="sm">
    <tbody>
        <tr>
            <th><input type="checkbox" class="checked-all" target="purchase-id"></th>
            <th>收货仓库</th>
            <th>供应商</th>
            <th>采购单号</th>
            <th>供应商单号</th>
            <th>采购单状态</th>
            <th>下单时间</th>
            <th>到货时间</th>
            <th>采购员</th>
            <th>备注</th>
            <th>操作</th>
        </tr>
        {volist name="list" id="item"}
            <tr>
                <td><input type="checkbox" class="purchase-id" name="purchase_id[]" value="{$item.purchase_id}"></td>
                <td>{$item.warehouse.name}</td>
                <td>{$item.producer.name}</td>
                <td  class="copy-text">{$item.purchase_sn}</td>
                <td  class="copy-text">{$item.producer_sn}</td>
                <td>{$item.order_status}</td>
                <td>{$item.business_date}</td>
                <td>{$item.recv_date}</td>
                <td>{$item.buyer.nickname}</td>
                <td>{$item.remark}</td>
                <td>
                    <a href="{:url('pinfo',['purchase_id'=>$item['purchase_id']])}" width-form="80%" height-form="80%" class="layui-btn layui-btn-xs layui-btn-normal ajax-form" title="上架">上架</a>
                </td>
            </tr>
        {/volist}
        {empty name="list"}
        <tr>
            <td colspan="15">没有数据</td>
        </tr>
        {/empty}
    </tbody>
</table>
<div class="page">
    {$page|raw}
</div>